package com.david.flowable.service;

import com.david.flowable.pojo.vo.FormFlowVO;
import com.david.system.pojo.Entity.JobEntity;
import com.david.system.pojo.Entity.UserEntity;
import com.david.system.pojo.Entity.UserInfo;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Map;

public interface FlowDefinitionService {
    String saveXml(String name, String category, InputStream in);

    List<UserInfo> searchUsers(List<Long> ids);

    List<JobEntity> searchJobs(List<Integer> ids);

    Map<String, Object> getXmlAndNode(String deployId, String proInsId) ;

    Map<String, Object> getXml(String flowId);

}
